Executing commands in a virtual environment

ABSTRACT

An apparatus for executing one or more commands, for use with a virtualization environment operable to execute one or more virtualization functions, the apparatus comprising: an interface operable to determine an identifier associated with a first virtualization function; a parser operable to determine one or more commands available for execution using the first virtualization function; a store for storing each determined command with the first virtualization function identifier; a searcher, responsive to input of a first command, for matching the first command with each determined command in order to determine one or more matching commands; and an executor, responsive to selection of a first matching command, for executing the associated first virtualization function and the first matching command.

BACKGROUND

The present invention relates generally to virtualization and, moreparticularly, to executing one or more commands for use with avirtualization environment.

SUMMARY

According to a first aspect, there is provided an apparatus forexecuting one or more commands, for use with a virtualizationenvironment operable to execute one or more virtualization functions,the apparatus comprising: an interface operable to determine anidentifier associated with a first virtualization function; a parseroperable to determine one or more commands available for execution usingthe first virtualization function; a store for storing each determinedcommand with the first virtualization function identifier; a searcher,responsive to input of a first command, for matching the first commandwith each determined command in order to determine one or more matchingcommands; and an executor, responsive to selection of a first matchingcommand, for executing the associated first virtualization function andthe first matching command.

According to a second aspect, there is provided a method for executingone or more commands, for use with a virtualization environment operableto execute one or more virtualization functions, the method comprising:determining an identifier associated with a first virtualizationfunction; determining one or more commands available for execution usingthe first virtualization function; storing each determined command withthe first virtualization function identifier; matching, in response toinput of a first command, the first command with each determined commandin order to determine one or more matching commands; and executing, inresponse to selection of a first matching command, the associated firstvirtualization function and the first matching command.

According to a third aspect, there is provided a computer programproduct comprising a computer readable storage medium having programinstructions embodied therewith, wherein the program instructions areexecutable by a processor to cause the processor to: determine anidentifier associated with a first virtualization function; determineone or more commands available for execution using the firstvirtualization function; store each determined command with the firstvirtualization function identifier; match, in response to input of afirst command, the first command with each determined command in orderto determine one or more matching commands; and execute, in response toselection of a first matching command, the associated firstvirtualization function and the first matching command.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The following detailed description, given by way of example and notintended to limit the invention solely thereto, will best be appreciatedin conjunction with the accompanying drawings, in which:

FIG. 1 illustrates a diagram illustrating a containerizationenvironment, in accordance with an embodiment of the present invention;

FIG. 2 illustrates a flow chart depicting the operations of the presentinvention, according to an embodiment of the present invention;

FIG. 3 illustrates a flow chart depicting the operations of the presentinvention, according to an embodiment of the present invention;

FIG. 4 illustrates a diagram of an apparatus, in accordance with anembodiment of the present invention;

FIG. 5 illustrates a block diagram depicting hardware components, inaccordance with an embodiment of the present invention;

FIG. 6 illustrates a cloud computing environment according to an exampleimplementation; and

FIG. 7 illustrates abstraction model layers according to an exampleimplementation.

The drawings are not necessarily to scale. The drawings are merelyschematic representations, not intended to portray specific parametersof the invention. The drawings are intended to depict only typicalembodiments of the invention. In the drawings, like numbering representslike elements.

DETAILED DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

Detailed embodiments of the claimed structures and methods are disclosedherein; however, it can be understood that the disclosed embodiments aremerely illustrative of the claimed structures and methods that may beembodied in various forms. This invention may, however, be embodied inmany different forms and should not be construed as limited to theexemplary embodiments set forth herein. Rather, these exemplaryembodiments are provided so that this disclosure will be thorough andcomplete, and will fully convey the scope of this invention to thoseskilled in the art. In the description, details of well-known featuresand techniques may be omitted to avoid unnecessarily obscuring thepresented embodiments.

References in the specification to “one embodiment”, “an embodiment”,“an example embodiment”, etc., indicate that the embodiment describedmay include a particular feature, structure, or characteristic, butevery embodiment may not necessarily include the particular feature,structure, or characteristic. Moreover, such phrases are not necessarilyreferring to the same embodiment. Further, when a particular feature,structure, or characteristic is described in connection with anembodiment, it is submitted that it is within the knowledge of oneskilled in the art to implement such feature, structure, orcharacteristic in connection with other embodiments whether or notexplicitly described.

In the interest of not obscuring the presentation of embodiments of thepresent invention, in the following detailed description, someprocessing steps or operations that are known in the art may have beencombined together for presentation and for illustration purposes and insome instances may have not been described in detail. In otherinstances, some processing steps or operations that are known in the artmay not be described at all. It should be understood that the followingdescription is focused on the distinctive features or elements ofvarious embodiments of the present invention.

Virtualization is a widely used technique, e.g., in Cloud developmentand associated deployment. It allows for application deployment onheterogeneous host systems with minimal configuration required of guestsystems.

An example of an operating system virtualization environment, known as acontainerization environment, is shown in FIG. 1 . Although acontainerization environment is described with reference to FIG. 1 , itshould be understood that the preferred embodiment is operable to beimplemented with other examples of virtualization environments, e.g.,hardware virtualization using hypervisor techniques.

The host system (100) comprises hardware (102) and a host operatingsystem (104). The host operating system (104) comprises a kernel (106),which is one of the first programs to load to memory upon systeminitialization and controls other parts of the host system (100), e.g.,memory and hardware peripherals such as keyboards, monitors, printers,and speakers. The operating system (104) also comprises a number oflibraries (108) having, e.g., configuration data, functional code, andsub-routines. The host system (100) further comprises one or most hostapplications (110, 112) which, in operation, are operable to make callsto the libraries (108), e.g., for data.

The host system (100) also comprises components associated withoperating system virtualization, e.g., a container engine (126) operablefor running one or more virtualization functions, known as containers(114, 120), wherein the container engine (126) is operable to control aninterface between a container and the host operating system.

A container (114, 120) comprises one or more applications (116, 122) anddependencies associated with the one or more applications (116, 122),e.g., libraries (118, 124). A container (114, 120) allows an applicationto run in a user space portion of a guest operating system. The userspace is isolated from functions associated with a guest kernel and assuch, an application running in a container can run independently of aparticular type of underlying host operating system.

Containerization environments, such as Docker, allow a user to generatea container image, which is typically a file comprising executable code.A user can associate the container image with a container identifier,e.g., of the format “name:version”. In response to running the image, anassociated container is operable to be generated (e.g., using a “dockerrun” command). In response to running the container, a user is able toexecute commands within the running container.

For example, a user may input the following, where “containera:latest”is a container identifier and “shred’ is a command:

docker run containera:latest/mycommands/shred

However, in order to run commands in a container, the user needs tofirst have knowledge of the container identifier. Since a user's machinemay be running very large numbers of containers and since the containersmay not be intuitively identified according to, e.g., a naming scheme,it can be difficult for a user to identify a particular container thathe/she needs to connect to.

It can also difficult to ascertain which particular commands function ina particular container as each container may comprise an associatedsubset of commands that are unique to it. Alternatively, there can be asubset of commands that are common to more than one container.

The preferred embodiment allows for a user to be able to executecommands in a virtualization environment without having to haveknowledge of identifiers associated with the environment or of theparticular commands that function in the environment.

With reference to FIG. 2 , which depicts a first method according to thepreferred embodiment and to FIG. 4 , which depicts a system (400)according to the preferred embodiment operable to communicate with thehost system (100), at step 200, an interface (402) is operable todetermine an identifier associated with each container that isexecutable on the host system (100).

For example, the interface (402) is operable to query (e.g., using a“docker images” command) a container service in order to obtain one ormore container identifiers. In another example, the interface (402) isoperable to query one or more running containers (e.g., using a “dockerps” command) in order to obtain one or more container identifiers.

In the example herein, the interface (402) determines that a firstcontainer (114) and a second container (120) are executable on the hostsystem (100) and the interface (402) is operable to store identifiers(e.g., Container A and Container B, respectively) associated with eachcontainer in a data structure (e.g., a list) in a store (412) (e.g., aconfiguration file). It should be understood that the interface (402)can be configurable to recognize any number of container identifiers,e.g. a URL, a network address, a name, a token.

Preferably, the interface (402) is also operable to determine (e.g.,using a host operating system command) an identifier (e.g., HostSystem 1) associated with the host system (100) and is operable to storethe identifier associated with the host system (100) in the store (412).

In response to generating the first list, the interface (402) passes afirst control signal to initialize the container engine (126), which isoperable to execute (step 205) each of the containers (114, 120).

At step 210, for each of the containers (114 and 120), the parser (404)is operable to determine one or more commands available for execution.In an example herein, the parser (404) parses one or more values of anenvironment variable, e.g., “$PATH” associated with each container.$PATH is a known environment variable which defines one or moredirectories for storing one or more executable commands.

In an example herein, for each container (114 and 120), the parser (404)determines that the first container (114) comprises a first command,“repository 1.exe” and the second container (120) comprises a secondcommand, “repository 2.exe” and a third command, “repository_a.exe”.

In the example herein, the parser (404) is also operable to determineone or more commands available for execution associated with the hostsystem (100), e.g., by parsing an associated $PATH environment variable.In the example herein, the host system (100) comprises a fourth command,“repository 3.exe”, and a fifth command, “repository_a.exe”.

At step 215, the parser (404) is operable to store each determinedcommand in the first list with the associated container identifier.Preferably, the parser (404) is further operable to store eachdetermined command in the first list with the associated host systemidentifier. In the example herein, a representation of the first list isshown below:

Container A; repository 1.exe

Container B; repository 2.exe, repository_a.exe

Host system 1; repository 3.exe, repository_a.exe

It should be understood that in practice, the first list may comprisevery large numbers of container identifiers, host system identifiers,and commands. It should also be understood that the parser (404) isconfigurable such that data associated with particular commands can bemasked such that the data is not available to the parser (404) and thus,the parser (404) is not operable to add the associated commands to thefirst list.

A second method according to the preferred embodiment, which is executedin response to user input comprising one or more commands, will now bedescribed with reference to FIGS. 3 and 4 .

In the preferred embodiment, the user is operable to input one or morecommands using a first computer program, e.g., a shell, a terminalwindow, a command line provided by a toolkit associated with the hostsystem (100) configurable to read and execute commands. Note that thefirst computer program is typically logically separate from each of thecontainers (114 and 120) executable on the host system (100).

At step 300, an interceptor (406) is operable to intercept (for example,by listening for an input device event associated with a terminalwindow) a first command (typically, alphanumeric characters), which auser inputs into, e.g., a terminal window associated with the hostsystem (100).

The interceptor (406) is operable to parse (e.g., using known textparsing mechanisms) the user input. In the example herein, the userinput is a partial input of a command (for example, for use with knownautocomplete functions) as depicted below:

“repository”

At step 305, the searcher (408) is operable to use the parsed user inputto search the first list (for example, using known text matchingtechniques) in order to find one or more matching entries.

At step 310, the searcher (408) determines if a matching entry is found.In response to the searcher (408) not finding a matching entry, thesearcher (408) executes (step 335) an action (e.g., generates anaudio/visual cue; in response to further user input, generates an errorfor display in the terminal window) and the method ends.

In response to the searcher (408) finding one or more matching entries,the searcher (408) generates (step 315) a second list comprising eachmatching entry. In the example herein, the second list is depictedbelow:

repository 1.exe

repository 2.exe

repository_a.exe

repository 3.exe

It should be understood that the searcher (408) is operable to sort thesecond list e.g., sequentially, alphabetically etc.

The searcher (408) inserts the second list for display in the terminalwindow. The user is operable (e.g., using known keyboard functions) toselect an entry in the second list for execution, in this example,“repository_a.exe”.

An executor (410) intercepts (step 320) (for example, by listening foran input device event associated with the terminal window) the user'sselection of the command and accesses the first list in order to searchthe first list for at least one container identifier and host systemidentifier associated with the command.

In the example herein, the executor (410) determines a containeridentifier associated with the second container (120), namely,“Container B” and a host system identifier associated with the hostsystem (100), namely “Host System 1”.

The executor (410) selects for execution, one or more of the secondcontainer (120) and the host system (100) e.g., in the order in whichthey appear in the first list; in response to user selection.

In the example herein, the executor (410) passes a second control signalto initialize the container engine (126), which is operable to execute(step 325) the associated second container (120). The container engine(126) passes the command to the second container (120), which executes(step 330) the command. For example, the container engine (126) isoperable to override a default start command associated with the secondcontainer (120) and passes the command, “repository_a.exe”, to thesecond container (120) for execution, e.g., using “docker execcontainerB repository_a.exe”.

Advantageously, an embodiment allows for execution of a command withouta user needing to have knowledge of a container identifier and/or acommand identifier. Furthermore, a user is able to initialize input of acommand in a logically separate environment (e.g., a terminal window)from the container. Furthermore, in said embodiment, a command isoperable to be executed without a container first needing to beexecuted.

According to a first alternative embodiment, rather than executing thefirst method of FIG. 2 , which results in a pre-built first list thatcan be subsequently used in response to user input of a command,preferably, each container is operable to be executed with an associatedsearcher. In response to user input of a command, the searcher isoperable to receive the command and is operable to query the executingcontainer for the command. The searcher is operable to provide eachmatching command to the user for selection. In response to userselection, the command is operable to be sent to the container forexecution, e.g., by the searcher, by using a docker exec command.

Further, according to a second alternative embodiment, rather thanstoring the container identifiers, host system identifiers, and commandsin a data structure such as a list, the container identifiers, hostsystem identifiers, and commands can be stored, e.g., using anenvironment variable such as $PATH, in memory.

The programs described herein are identified based upon the applicationfor which they are implemented in a specific embodiment of theinvention. However, it should be appreciated that any particular programnomenclature herein is used merely for convenience, and thus theinvention should not be limited to use solely in any specificapplication identified and/or implied by such nomenclature.

Based on the foregoing, a method, computer system, and computer programproduct have been disclosed. However, numerous modifications andsubstitutions can be made without deviating from the scope of thepresent invention. Therefore, the present invention has been disclosedby way of example and not limitation.

FIG. 5 illustrates a block diagram depicting hardware components, inaccordance with an embodiment of the present invention. It should beappreciated that FIG. 5 provides only an illustration of oneimplementation and does not imply any limitations with regard to theenvironments in which different embodiments may be implemented. Manymodifications to the depicted environment may be made.

Computing devices used herein may include one or more processors 02, oneor more computer-readable RAMs 04, one or more computer-readable ROMs06, one or more computer readable storage media 08, device drivers 12,read/write drive or interface 14, network adapter or interface 16, allinterconnected over a communications fabric 18. Communications fabric 18may be implemented with any architecture designed for passing dataand/or control information between processors (such as microprocessors,communications and network processors, etc.), system memory, peripheraldevices, and any other hardware components within a system.

One or more operating systems 10 and one or more application programs 11are stored on one or more of the computer readable storage media 08 forexecution by one or more of the processors 02 via one or more of therespective RAMs 04 (which typically include cache memory). In theillustrated embodiment, each of the computer readable storage media 08may be a magnetic disk storage device of an internal hard drive, CD-ROM,DVD, memory stick, magnetic tape, magnetic disk, optical disk, asemiconductor storage device such as RAM, ROM, EPROM, flash memory orany other computer-readable tangible storage device that can store acomputer program and digital information.

Computing devices used herein may also include a R/W drive or interface14 to read from and write to one or more portable computer readablestorage media 26. Application programs 11 on said devices may be storedon one or more of the portable computer readable storage media 26, readvia the respective R/W drive or interface 14 and loaded into therespective computer readable storage media 08.

Computing devices used herein may also include a network adapter orinterface 16, such as a TCP/IP adapter card or wireless communicationadapter (such as a 4G wireless communication adapter using OFDMAtechnology). Application programs 11 on said computing devices may bedownloaded to the computing device from an external computer or externalstorage device via a network (for example, the Internet, a local areanetwork or other wide area network or wireless network) and networkadapter or interface 16. From the network adapter or interface 16, theprograms may be loaded onto computer readable storage media 08. Thenetwork may comprise copper wires, optical fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers.

Computing devices used herein may also include a display screen 20, akeyboard or keypad 22, and a computer mouse or touchpad 24. Devicedrivers 12 interface to display screen 20 for imaging, to keyboard orkeypad 22, to computer mouse or touchpad 24, and/or to display screen 20for pressure sensing of alphanumeric character entry and userselections. The device drivers 12, R/W drive or interface 14 and networkadapter or interface 16 may comprise hardware and software (stored oncomputer readable storage media 08 and/or ROM 06).

It is to be understood that although this disclosure includes a detaileddescription on cloud computing, implementation of the teachings recitedherein are not limited to a cloud computing environment. Rather,embodiments of the present invention are capable of being implemented inconjunction with any other type of computing environment now known orlater developed.

Cloud computing is a model of service delivery for enabling convenient,on-demand network access to a shared pool of configurable computingresources (e.g., networks, network bandwidth, servers, processing,memory, storage, applications, virtual machines, and services) that canbe rapidly provisioned and released with minimal management effort orinteraction with a provider of the service. This cloud model may includeat least five characteristics, at least three service models, and atleast four deployment models.

Characteristics are as follows:

On-demand self-service: a cloud consumer can unilaterally provisioncomputing capabilities, such as server time and network storage, asneeded automatically without requiring human interaction with theservice's provider.

Broad network access: capabilities are available over a network andaccessed through standard mechanisms that promote use by heterogeneousthin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to servemultiple consumers using a multi-tenant model, with different physicaland virtual resources dynamically assigned and reassigned according todemand. There is a sense of location independence in that the consumergenerally has no control or knowledge over the exact location of theprovided resources but may be able to specify location at a higher levelof abstraction (e.g., country, state, or datacenter).

Rapid elasticity: capabilities can be rapidly and elasticallyprovisioned, in some cases automatically, to quickly scale out andrapidly released to quickly scale in. To the consumer, the capabilitiesavailable for provisioning often appear to be unlimited and can bepurchased in any quantity at any time.

Measured service: cloud systems automatically control and optimizeresource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage,processing, bandwidth, and active user accounts). Resource usage can bemonitored, controlled, and reported, providing transparency for both theprovider and consumer of the utilized service.

Service Models are as follows:

Software as a Service (SaaS): the capability provided to the consumer isto use the provider's applications running on a cloud infrastructure.The applications are accessible from various client devices through athin client interface such as a web browser (e.g., web-based e-mail).The consumer does not manage or control the underlying cloudinfrastructure including network, servers, operating systems, storage,or even individual application capabilities, with the possible exceptionof limited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer isto deploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages and tools supported bythe provider. The consumer does not manage or control the underlyingcloud infrastructure including networks, servers, operating systems, orstorage, but has control over the deployed applications and possiblyapplication hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to theconsumer is to provision processing, storage, networks, and otherfundamental computing resources where the consumer is able to deploy andrun arbitrary software, which can include operating systems andapplications. The consumer does not manage or control the underlyingcloud infrastructure but has control over operating systems, storage,deployed applications, and possibly limited control of select networkingcomponents (e.g., host firewalls).

Deployment Models are as follows:

Private cloud: the cloud infrastructure is operated solely for anorganization. It may be managed by the organization or a third party andmay exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by severalorganizations and supports a specific community that has shared concerns(e.g., mission, security requirements, policy, and complianceconsiderations). It may be managed by the organizations or a third partyand may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the generalpublic or a large industry group and is owned by an organization sellingcloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or moreclouds (private, community, or public) that remain unique entities butare bound together by standardized or proprietary technology thatenables data and application portability (e.g., cloud bursting forload-balancing between clouds).

A cloud computing environment is service oriented with a focus onstatelessness, low coupling, modularity, and semantic interoperability.At the heart of cloud computing is an infrastructure that includes anetwork of interconnected nodes.

Referring now to FIG. 6 , illustrative cloud computing environment 50 isdepicted. As shown, cloud computing environment 50 includes one or morecloud computing nodes 40 with which local computing devices used bycloud consumers, such as, for example, personal digital assistant (PDA)or cellular telephone 54A, desktop computer 54B, laptop computer 54C,and/or automobile computer system 54N may communicate. Nodes 40 maycommunicate with one another. They may be grouped (not shown) physicallyor virtually, in one or more networks, such as Private, Community,Public, or Hybrid clouds as described hereinabove, or a combinationthereof. This allows cloud computing environment 50 to offerinfrastructure, platforms and/or software as services for which a cloudconsumer does not need to maintain resources on a local computingdevice. It is understood that the types of computing devices 54A-N shownin FIG. 5 are intended to be illustrative only and that computing nodes40 and cloud computing environment 50 can communicate with any type ofcomputerized device over any type of network and/or network addressableconnection (e.g., using a web browser).

Referring now to FIG. 7 , a set of functional abstraction layersprovided by cloud computing environment 50 (FIG. 5 ) is shown. It shouldbe understood in advance that the components, layers, and functionsshown in FIG. 6 are intended to be illustrative only and embodiments ofthe invention are not limited thereto. As depicted, the following layersand corresponding functions are provided:

Hardware and software layer 60 includes hardware and softwarecomponents. Examples of hardware components include: mainframes 61; RISC(Reduced Instruction Set Computer) architecture based servers 62;servers 63; blade servers 64; storage devices 65; and networks andnetworking components 66. In some embodiments, software componentsinclude network application server software 67 and database software 68.

Virtualization layer 70 provides an abstraction layer from which thefollowing examples of virtual entities may be provided: virtual servers71; virtual storage 72; virtual networks 73, including virtual privatenetworks; virtual applications and operating systems 74; and virtualclients 75.

In one example, management layer 80 may provide the functions describedbelow. Resource provisioning 81 provides dynamic procurement ofcomputing resources and other resources that are utilized to performtasks within the cloud computing environment. Metering and Pricing 82provide cost tracking as resources are utilized within the cloudcomputing environment, and billing or invoicing for consumption of theseresources. In one example, these resources may include applicationsoftware licenses. Security provides identity verification for cloudconsumers and tasks, as well as protection for data and other resources.User portal 83 provides access to the cloud computing environment forconsumers and system administrators. Service level management 84provides cloud computing resource allocation and management such thatrequired service levels are met. Service Level Agreement (SLA) planningand fulfillment 85 provide pre-arrangement for, and procurement of,cloud computing resources for which a future requirement is anticipatedin accordance with an SLA.

Workloads layer 90 provides examples of functionality for which thecloud computing environment may be utilized. Examples of workloads andfunctions which may be provided from this layer include: mapping andnavigation 91; software development and lifecycle management 92; virtualclassroom education delivery 93; data analytics processing 94;transaction processing 95; and wind processing 96.

The present invention may be a system, a method, and/or a computerprogram product at any possible technical detail level of integration.The computer program product may include a computer readable storagemedium (or media) having computer readable program instructions thereonfor causing a processor to carry out aspects of the present invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, configuration data for integrated circuitry, oreither source code or object code written in any combination of one ormore programming languages, including an object oriented programminglanguage such as Smalltalk, C++, or the like, and procedural programminglanguages, such as the “C” programming language or similar programminglanguages. The computer readable program instructions may executeentirely on the user's computer, partly on the user's computer, as astand-alone software package, partly on the user's computer and partlyon a remote computer or entirely on the remote computer or server. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider). In some embodiments, electronic circuitry including,for example, programmable logic circuitry, field-programmable gatearrays (FPGA), or programmable logic arrays (PLA) may execute thecomputer readable program instructions by utilizing state information ofthe computer readable program instructions to personalize the electroniccircuitry, in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the blocks may occur out of theorder noted in the Figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

What is claimed is:
 1. A method for executing one or more commands, themethod comprising: determining a first identifier associated with afirst virtualization function and a second identifier associated with asecond virtualization function; determining one or more commandsavailable for execution using the first virtualization function;determining one or more commands available for execution using thesecond virtualization function; determining, in response to an input ofa first command, whether the first command corresponds to either thefirst identifier or the second identifier by matching the first commandwith one of the one or more commands; based on determining the firstcommand corresponds to the first identifier, executing, the firstvirtualization function and the first command; and inputting the firstcommand using a computer program associated with the firstvirtualization function.
 2. The method as claimed in claim 1, furthercomprising: based on determining the first command corresponds to thesecond identifier, executing, the second virtualization function and thefirst command.
 3. The method as claimed in claim 1, wherein thevirtualization environment comprises a containerization environment. 4.The method as claimed in claim 1, wherein the first virtualizationfunction comprises a container.
 5. The method as claimed in claim 1,further comprising: executing the first command using a host system. 6.The method as claimed in claim 5, wherein the first command is inputtedin a terminal window associated with the host system.
 7. The method asclaimed in claim 1, further comprising: based on determining the firstcommand does not correspond to either the first identifier or the secondidentifier by matching the first command with one of the one or morecommands, generating an error.
 8. A computer system for executing one ormore commands, the computer system comprising: one or more processors,one or more computer-readable memories, one or more computer-readabletangible storage medium, and program instructions stored on at least oneof the one or more tangible storage medium for execution by at least oneof the one or more processors via at least one of the one or morememories, wherein the computer system performs a method comprising:determining a first identifier associated with a first virtualizationfunction and a second identifier associated with a second virtualizationfunction; determining one or more commands available for execution usingthe first virtualization function; determining one or more commandsavailable for execution using the second virtualization function;determining, in response to an input of a first command, whether thefirst command corresponds to either the first identifier or the secondidentifier by matching the first command with one of the one or morecommands; based on determining the first command corresponds to thefirst identifier, executing, the first virtualization function and thefirst command; and inputting the first command using a computer programassociated with the first virtualization function.
 9. The computersystem as claimed in claim 8, further comprising: based on determiningthe first command corresponds to the second identifier, executing, thesecond virtualization function and the first command.
 10. The computersystem as claimed in claim 8, wherein the virtualization environmentcomprises a containerization environment.
 11. The computer system asclaimed in claim 8, wherein the first virtualization function comprisesa container.
 12. The computer system as claimed in claim 8, furthercomprising: executing the first command using a host system.
 13. Thecomputer system as claimed in claim 12, wherein the first command isinputted in a terminal window associated with the host system.
 14. Thecomputer system as claimed in claim 8, further comprising: based ondetermining the first command does not correspond to either the firstidentifier or the second identifier by matching the first command withone of the one or more commands, generating an error.
 15. A computerprogram product for executing one or more commands, the computer programproduct comprising: one or more computer-readable tangible storagemedium and program instructions stored on at least one of the one ormore tangible storage medium, the program instructions executed by aprocessor, the program instructions comprising: program instructions todetermine a first identifier associated with a first virtualizationfunction and a second identifier associated with a second virtualizationfunction; program instructions to determine one or more commandsavailable for execution using the first virtualization function; programinstructions to determine one or more commands available for executionusing the second virtualization function; program instructions todetermine, in response to an input of a first command, whether the firstcommand corresponds to either the first identifier or the secondidentifier by program instructions to match the first command with oneof the one or more commands; based on determining the first commandcorresponds to the first identifier, program instructions to execute,the first virtualization function and the first command; and programinstructions to input the first command using a computer programassociated with the first virtualization function.
 16. The computerprogram product as claimed in claim 15, further comprising: based ondetermining the first command corresponds to the second identifier,program instructions to execute, the second virtualization function andthe first command.
 17. The computer program product as claimed in claim15, wherein the virtualization environment comprises a containerizationenvironment.
 18. The computer program product as claimed in claim 15,wherein the first virtualization function comprises a container.
 19. Thecomputer program product as claimed in claim 15, further comprising:program instructions to execute the first command using a host system.20. The computer program product as claimed in claim 15, furthercomprising: based on determining the first command does not correspondto either the first identifier or the second identifier by programinstructions to match the first command with one of the one or morecommands, generating an error.